// [[ OnflowGenerator File UUID: 6e7b41a3adc549f984548fa5722b7865  ]]
package com.itdct.onflow.system.log.mapper;

import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.system.log.entity.SysApiLogEntity;
import com.itdct.onflow.system.log.qo.SysApiLogSearchQo;
import com.itdct.onflow.system.log.vo.SysApiLogDetailVo;
import com.itdct.onflow.system.log.vo.SysApiLogListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.Date;
import java.util.List;

/**
 * @author DCTANT
 * @date 2025-09-23 10:57:51
 * @version 1.0
 * @description 系统接口访问日志查询工具
 */
@Mapper
public interface SysApiLogMapper extends BaseMapper<SysApiLogEntity> {
    @Nullable
    SysApiLogDetailVo findById(Long id);

    @NotNull
    List<SysApiLogListVo> findByList(SysApiLogSearchQo qo);

    void cleanExpireLog(@NotNull Date time);

// [[ OnflowGenerator Range (- selectFunctions -) Start ]]

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
